<template>
  <ElConfigProvider :locale="locale">
    <scale-box>
      <router-view></router-view>
    </scale-box>
  </ElConfigProvider>
</template>

<script setup>
  import { ElConfigProvider } from 'element-plus';
  import { ref } from 'vue';
  import zhLocale from 'element-plus/lib/locale/lang/zh-cn';

  const locale = ref(zhLocale);
</script>

<style scoped></style>
